//
//  Commit.swift
//  Weibo10
//
//  Created by Leon on 15/10/18.
//  Copyright © 2015年 Leon. All rights reserved.
//

import UIKit

/// 切换控制器-通知标示符
let WBSwitchViewControllerNotification = "WBSwitchViewControllerNotification"

/// 延迟
func delay(detal: Int, finished: () -> ()) {
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(1 * NSEC_PER_SEC)), dispatch_get_main_queue()) {
        
        finished()
    }
}

 /// 屏幕的像素比
let scale = UIScreen.mainScreen().scale